package com.zyjc.city.config;

import com.zyjc.city.util.CqcHttpUtil;
import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

/**
 * @author ckj
 * @date 2024年03月31日 8:59
 */
@Component
@Slf4j
public class TokenInit implements CommandLineRunner {
    @Override
    public void run(String... args) {
        CqcHttpUtil.getToken();
    }
}
